﻿@{
    ViewBag.Title = "SetPassword";
    Layout = "~/Views/Shared/_UsersCenterLayout.cshtml";
}
@using MvcMall.Portal.Controllers.Users.ViewModels;
@model UserChangePasswordModel
<script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="right_box">
    <div class="right_box_map">
        修改密码
    </div>
    @using (Html.BeginForm())
    {
        <table style="margin-top: 10px;" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr height="40">
                <td class="tab2_td">
                    @Html.LabelFor(c => c.OldPassword)：
                </td>
                <td>
                    @Html.PasswordFor(c => c.OldPassword, new { @class = "tab_input" })
                </td>
                <td>
                    @Html.ValidationMessageFor(c => c.OldPassword)
                </td>
            </tr>
            <tr height="40">
                <td class="tab2_td">
                    @Html.LabelFor(c => c.NewPassword)：
                </td>
                <td>
                    @Html.PasswordFor(c => c.NewPassword, new { @class = "tab_input" })
                </td>
                <td>
                    @Html.ValidationMessageFor(c => c.NewPassword)
                </td>
            </tr>
            <tr height="40">
                <td class="tab2_td">
                    @Html.LabelFor(c => c.ConfirmPassword)：
                </td>
                <td>
                    @Html.PasswordFor(c => c.ConfirmPassword, new { @class = "tab_input" })
                </td>
                <td>
                    @Html.ValidationMessageFor(c => c.ConfirmPassword)
                </td>
            </tr>
            <tr>
            <td></td>
                <td colspan="2">
                    <input type="submit" value="修改密码" />
                </td>
            </tr>
        </table>
    }
</div>
